package com.example.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.domain.Dish;
import com.example.dto.DishDto;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public interface DishService extends IService<Dish> {
    //新增菜品
    void saveWithFlavor(DishDto dishDto);
    //分页查询
    void getDishDtoPage(IPage<DishDto> iPage, LambdaQueryWrapper<Dish> queryWrapper);
    //新增菜品
    void updateWithFlavor(DishDto dishDto);
}
